import 'package:BeeApp/MainPage/MainToolPage.dart';
import 'package:flutter/material.dart';

class UserMailListPage extends StatefulWidget {
  UserMailListPage({Key key}) : super(key: key);

  @override
  _UserMailListPageState createState() => _UserMailListPageState();
}

class _UserMailListPageState extends State<UserMailListPage> {
 // final ContactPicker _contactPicker = new ContactPicker();
 // Contact _contact;
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: getAppBar(context, "str"),
      body: Scaffold(
        appBar: new AppBar(
          title: new Text('Plugin example app'),
        ),
        body: new Center(
          child: new Column(
            mainAxisSize: MainAxisSize.min,
            children: <Widget>[
              new MaterialButton(
                color: Colors.blue,
                child: new Text("CLICK ME"),
                onPressed: () async {
                /*  Contact contact = await _contactPicker.selectContact();
                  setState(() {
                    _contact = contact;
                  });*/
                },
              ),
              new Text(
                ""
               // _contact == null ? 'No contact selected.' : _contact.toString(),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
